Skip to content

chore: use correct Vite instance for runner checks - #16973

Merged
teemingc merged 8 commits into
version-3from
teemingc-fix-vite-runner-detection
Sep 1, 2026
Merged

chore: use correct Vite instance for runner checks#16973
teemingc merged 8 commits into
version-3from
teemingc-fix-vite-runner-detection

Conversation

@teemingc

@teemingc teemingc commented Aug 28, 2026

Copy link
Copy Markdown
Member

fixes the vite ecosystem ci error https://github.com/vitejs/vite-ecosystem-ci/actions/runs/32693769091/job/97332021820#step:7:1811

There is no point to us calling resolve_peer(...) for a Vite instance in the vite/index.js file anymore since we don't use to run the client build during a server build (SvelteKit 2 behaviour). Removing this should avoid the vite-ecosystem-ci error where the Vite runner instanceof check fails from two differently resolved Vite instances (the one that started the build and the one from our resolve_peer).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 82d2454

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 28, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 82d2454:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/82d2454fc48faed4f6c400b49cc79da7ea0520af

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16973

@svelte-docs-bot

Copy link
Copy Markdown

@teemingc teemingc changed the title fix: use command Vite instance for runner checks chore: use correct Vite instance for runner checks Aug 28, 2026
Comment thread packages/kit/types/index.d.ts

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just nits on style, but lgtm

Comment thread packages/kit/src/exports/vite/index.js Outdated
Comment thread packages/kit/src/runner.js Outdated
@teemingc
teemingc merged commit 8057a1e into version-3 Sep 1, 2026
40 checks passed
@teemingc
teemingc deleted the teemingc-fix-vite-runner-detection branch September 1, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants